/* Confirm 容器 */
.confirm-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

/* 遮罩层 */
.confirm-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: auto;
}

.confirm-overlay.show {
    opacity: 1;
}

/* Confirm 框 */
.confirm {
    position: relative;
    width: 400px;
    max-width: 90%;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: auto;
}

.confirm.show {
    opacity: 1;
    transform: translateY(0);
}

.confirm.hide {
    opacity: 0;
    transform: translateY(-20px);
}

/* 内容区域 */
.confirm-content {
    padding: 20px;
}

/* 标题 */
.confirm-header {
    margin-bottom: 16px;
}

.confirm-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* 消息内容 */
.confirm-body {
    margin-bottom: 24px;
}

.confirm-message {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 底部按钮 */
.confirm-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.confirm-button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.confirm-cancel {
    background-color: #f0f0f0;
    color: #666;
}

.confirm-cancel:hover {
    background-color: #e0e0e0;
}

.confirm-primary {
    background-color: #409eff;
    color: white;
}

.confirm-primary:hover {
    background-color: #66b1ff;
}